import request from '@/router/axios';

export function putObj(data) {
  return request({
    url: '/core/can/convert',
    method: 'post',
    data,
  });
}

export function getObj() {
  return request({
    url: `/core/can/convert/config`,
    method: 'get',
  });
}

export function putObjStatus(id, status) {
  return request({
    url: `/core/can/convert/status/${id}/${status}`,
    method: 'put',
  });
}
